import recipe
import pdb
#pdb.set_trace()
ingDict = recipe.Dictionary('Dictionary.csv')

print ingDict

testIng = recipe.Ingredient('beef', 'protein', '1', 'lb')
testIng2 = recipe.Ingredient('basil', 'spice - italian', '1', 'tbsp')
testIng3 = recipe.Ingredient('water', 'sauce', '1', 'cup')

testStep3 = recipe.Step('Cut the beef to small pieces.', False, [testIng], 'Cut', 'NA', 'beef', [], 'beef')
testStep = recipe.Step('Stir-fry the beef for 5 minutes.', False, [testIng], 'Stir-fry', '5 min', 'beef', [], 'beef')
testStep2 = recipe.Step('Add 1 tbsp basil to the beef.', False, [testIng2], 'Add', 'NA', 'beef', [], 'beef')

testRecipe = recipe.Recipe('Stir-fry Beef', [testIng, testIng2], 5, 4, [testStep3, testStep, testStep2])

testNewIngredient = recipe.Ingredient('chicken', 'protein', 'NA', 'NA')

testRecipe.swapMainIngredient('chicken')
testRecipe.swapSpiceProfile('Spice - French', ingDict)
testRecipe.swapCookingMethod('Stew', ingDict)
testRecipe.makeVegetarian()
print testRecipe
